Remove pipeline variables section from azure.yaml for azd 1.17.0+ compatibility #328
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR modernizes the
azure.yamlconfiguration to be compatible with Azure Developer CLI (azd) version 1.17.0 and later by removing the deprecatedpipeline: variablessection.Changes Made
0.2.0to0.4.0to reflect the configuration changes">= 1.10.0"to">= 1.17.0"pipeline: variablessection containing 14 environment variablesBackground
As of azd version 1.17.0, the
pipeline: variablessection inazure.yamlis no longer needed. The Azure Developer CLI now automatically detects and configures pipeline variables based on the parameters defined ininfra/main.parameters.json.All 14 variables that were previously listed in the pipeline section are already properly defined in
main.parameters.json:AZURE_OPENAI_CHAT_DEPLOYMENT,AZURE_OPENAI_CHAT_MODEL,AZURE_OPENAI_CHAT_MODEL_VERSIONAZURE_OPENAI_RESOURCE,AZURE_OPENAI_RESOURCE_GROUP,AZURE_OPENAI_RESOURCE_LOCATIONAZURE_OPENAI_DEPLOYMENT_CAPACITY,AZURE_OPENAI_DEPLOYMENT_SKU_NAME,AZURE_OPENAI_SKU_NAMEAZURE_OPENAI_API_VERSION,CREATE_AZURE_OPENAI,AZURE_OPENAI_ENDPOINTSERVICE_ACA_RESOURCE_EXISTS,DISABLE_KEY_BASED_AUTHThis change removes redundant configuration while maintaining full functionality with modern azd versions.
Fixes #327.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.